using LFramework;
using UnityEngine;

public class TestScene : MonoBehaviour
{
    void Update()
    {
        if (Input.GetKeyDown(KeyCode.A))
        {
            GameEntry.UI.OpenWindow<UISceneLoadingCtrl>();
            //GameEntry.Scene.LoadingUpdateAction += Progress;
            GameEntry.Scene.LoadSceneAction("Assets/Download/Scenes/TestScene/TestScene.unity", () =>
            {
                GameEntry.UI.CloseWindow<UISceneLoadingCtrl>();
            });
        }
    }
}
